#!/usr/bin/python

# sort for list's list
# won't sort list in list
list = [[0, 1, 2], [3, 5, 6], [1, 4, 5], [0, 1, 2], [1, 2, 3], [2, 6, 8], [7, 8, 9], [6, 7, 8], [1, 7, 8], [9, 6, 7]]

list.sort()
for item in list:
	print item
